Skip to content

router: remove implicit cast of lambda to bool#7930

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
zuercher:zuercher_fix_implicit_lambda_cast
Aug 15, 2019
Merged

router: remove implicit cast of lambda to bool#7930
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
zuercher:zuercher_fix_implicit_lambda_cast

Conversation

@zuercher
Copy link
Copy Markdown
Member

Per #7736, we're inadvertently casting a lambda expression to
bool. Fortunately, the code is attempting to pass true, so it
works.

Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Fixes: #7736

Signed-off-by: Stephan Zuercher zuercher@gmail.com

Per envoyproxy#7736, we're inadvertently casting a lambda expression to
bool. Fortunately, the code is attempting to pass true, so it
works.

Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Fixes: envoyproxy#7736

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
@zuercher zuercher changed the title router: remote implicit case of lambda to bool router: remove implicit case of lambda to bool Aug 14, 2019
@zuercher zuercher changed the title router: remove implicit case of lambda to bool router: remove implicit cast of lambda to bool Aug 14, 2019
@mattklein123 mattklein123 merged commit 5c9f1f0 into envoyproxy:master Aug 15, 2019
@zuercher zuercher deleted the zuercher_fix_implicit_lambda_cast branch August 15, 2019 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows compilation of RetryStateImpl::shouldHedgeRetryPerTryTimeout impl fails

4 participants